package com.zfk.transaction.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;


/**
 * 收货地址
 */

@Alias("t_location")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Location {

    @ApiModelProperty(value = "唯一id")
    private int id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户联系方式")
    private String phone;

    @ApiModelProperty(value = "用户地址")
    private String location;

    @ApiModelProperty(value = "用户id")
    private int userId;

}
